﻿using System.ComponentModel.DataAnnotations;

namespace OurWedding1.Models
{

    [MetadataType(typeof(MustHaveSongBuddy))]
    public partial class MustHaveSong
    {
        
    }

    public class MustHaveSongBuddy
    {
        [Required(ErrorMessageResourceType = typeof (Resources), ErrorMessageResourceName = "MustHaveSong_WeddingId_Required")]
        [Display(ResourceType = typeof (Resources), Name = "MustHaveSong_WeddingId")]
        public int WeddingId { get; set; }

        [Required(ErrorMessageResourceType = typeof (Resources), ErrorMessageResourceName = "MustHaveSong_Artist_Required")]
        [Display(ResourceType = typeof (Resources), Name = "MustHaveSong_Artist")]
        public string Artist { get; set; }

        [Required(ErrorMessageResourceType = typeof (Resources), ErrorMessageResourceName = "MustHaveSong_Title_Required")]
        [Display(ResourceType = typeof (Resources), Name = "MustHaveSong_Title")]
        public string Title { get; set; }

        [Display(ResourceType = typeof (Resources), Name = "MustHaveSong_YouTubeKey")]
        public string YouTubeKey { get; set; }

        [Required(ErrorMessageResourceType = typeof (Resources), ErrorMessageResourceName = "MustHaveSong_IsFistDance_Required")]
        [Display(ResourceType = typeof (Resources), Name = "MustHaveSong_IsFistDance")]
        public bool IsFistDance { get; set; }

        [Display(ResourceType = typeof (Resources), Name = "MustHaveSong_WeddingId")]
        public virtual Wedding Wedding { get; set; }
    }
}